-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
127 fonsizes na celej stranke #257
Conversation
src/components/Posts/Post.tsx
Outdated
{caption} | ||
</Typography> | ||
<Typography variant="h2" component="p" textTransform="none" fontStyle="normal" fontWeight={400}> | ||
<Stack key={id}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
key={id} redundant
src/components/Posts/Post.tsx
Outdated
))} | ||
</Stack> | ||
|
||
<Typography variant="body1" component="p" fontWeight={275} textTransform="uppercase"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ale tento component="p" je novy a asi by som ho skusil odstranit. a fontWeight 275 ach 😄 🙈
src/components/Latex/Latex.tsx
Outdated
<span dangerouslySetInnerHTML={{__html: `${children.slice(currentPosition, m.index)}`}} />, | ||
<Typography | ||
variant="body1" | ||
component="span" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
myslim ze je to default
src/components/Latex/Latex.tsx
Outdated
result.push( | ||
<Typography | ||
variant="body1" | ||
component="span" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aj tu
src/components/Latex/Latex.tsx
Outdated
@@ -25,15 +26,19 @@ export const Latex: FC<{children: string}> = ({children}) => { | |||
const matches = Array.from(children.matchAll(re)) | |||
|
|||
if (matches.length === 0) { | |||
return <>{children}</> | |||
return <Typography variant="body1" component="span" dangerouslySetInnerHTML={{__html: `${children}`}} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aj tu
<ProfileLine label={'tel. č.'} value={profile?.phone || '-'} /> | ||
<ProfileLine label={'tel. č. na rodiča'} value={profile?.parent_phone || '-'} /> | ||
</Stack> | ||
<Stack direction={'row'} mt={3} spacing={2}> | ||
<Stack direction={'row'} mt={3} spacing={5}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v tomto subore je na Stacku spacing niekolko krat, nahradil by som gapom
<div> | ||
<form className={styles.form} onSubmit={handleSubmit(onSubmit)}> | ||
<form onSubmit={handleSubmit(onSubmit)}> | ||
<Stack spacing={5}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zas spacing
</Stack> | ||
</> | ||
) : ( | ||
<Typography variant="body2" component="span" sx={{color: 'gray'}}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
component span
@@ -80,7 +81,7 @@ export const SchoolSubForm = ({control, watch, setValue}: SchoolSubFormProps<Sch | |||
|
|||
const requiredRule = {required: '* Toto pole nemôže byť prázdne.'} | |||
return ( | |||
<div className={styles.form}> | |||
<Stack gap={spacing}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toto je funny teda 😄
- trochu som sa v tomto commite opustil a upravil asi zbytocne viac ako som musel
8901ea1
to
1942946
Compare
Este tam potom zostava